/*! \file defs.h
 *	\brief <write description for defs.h>
 *
 *	created:	2009/11/11
 *	created:	11:11:2009   18:38
 *	filename: 	c:\src\main\libs\gd_dx11\defs.h
 *	file path:	c:\src\main\libs\gd_dx11
 *	file base:	defs
 *	file ext:	h
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

#ifndef _RM_DEFS_H_
#define _RM_DEFS_H_

#pragma once

// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the CONFIG_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see
// CONFIG_API functions as being imported from a DLL, whereas this DLL sees symbols
// defined with this macro as being exported.

#if defined(TT_WIN32)

#ifdef resource_manager_EXPORTS
#	define RM_API __declspec(dllexport)
#else
#	define RM_API __declspec(dllimport)
#endif

#else //defined(TT_WIN32)
#	define RM_API
#endif //defined(TT_WIN32)

#endif //_RM_DEFS_H_
